package aorise.com.frame.bean;


import java.io.Serializable;
import java.util.List;

/**
 * @Author:ZGP
 * @Desicription:
 * @Date:Created in 2018/9/12 10:50
 * @Modified By:
 */

public class SysUserModel implements Serializable {

    private int userId;
    private String account;
    private String password;
    private int type;
    private int organId;
    private String suborRole;
    private String token;
    private String fullName;
    private List<MapListBean> mapList;

    public int getOrganId() {
        return organId;
    }

    public void setOrganId(int organId) {
        this.organId = organId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getSuborRole() {
        return suborRole;
    }

    public void setSuborRole(String suborRole) {
        this.suborRole = suborRole;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUserName() {
        return fullName;
    }

    public void setUserName(String userName) {
        this.fullName = userName;
    }

    public List<MapListBean> getMapList() {
        return mapList;
    }

    public void setMapList(List<MapListBean> mapList) {
        this.mapList = mapList;
    }

    public static class MapListBean {
        private String permissName;
        private String icon;
        private int parentId;
        private String describes;
        private int permissId;
        private List<SysPermissionModelsBeanX> sysPermissionModels;

        public String getPermissName() {
            return permissName;
        }

        public void setPermissName(String permissName) {
            this.permissName = permissName;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public String getDescribes() {
            return describes;
        }

        public void setDescribes(String describes) {
            this.describes = describes;
        }

        public int getPermissId() {
            return permissId;
        }

        public void setPermissId(int permissId) {
            this.permissId = permissId;
        }

        public List<SysPermissionModelsBeanX> getSysPermissionModels() {
            return sysPermissionModels;
        }

        public void setSysPermissionModels(List<SysPermissionModelsBeanX> sysPermissionModels) {
            this.sysPermissionModels = sysPermissionModels;
        }

        public static class SysPermissionModelsBeanX {
            /**
             * permissName : 角色管理
             * icon : 1
             * parentId : 20
             * url : /role/index
             * describes : 角色管理
             * permissId : 202
             * sysPermissionModels : [{"permissName":"角色查询","icon":"1","parentId":202,"describes":"角色查询","permissId":2021,"sysPermissionModels":[]},{"permissName":"角色新增","icon":"1","parentId":202,"describes":"角色新增","permissId":2022,"sysPermissionModels":[]},{"permissName":"角色修改","icon":"1","parentId":202,"describes":"角色修改","permissId":2023,"sysPermissionModels":[]},{"permissName":"角色删除","icon":"1","parentId":202,"describes":"角色删除","permissId":2024,"sysPermissionModels":[]}]
             */

            private String permissName;
            private String icon;
            private int parentId;
            private String url;
            private String describes;
            private int permissId;
            private List<SysPermissionModelsBean> sysPermissionModels;

            public String getPermissName() {
                return permissName;
            }

            public void setPermissName(String permissName) {
                this.permissName = permissName;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public int getParentId() {
                return parentId;
            }

            public void setParentId(int parentId) {
                this.parentId = parentId;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getDescribes() {
                return describes;
            }

            public void setDescribes(String describes) {
                this.describes = describes;
            }

            public int getPermissId() {
                return permissId;
            }

            public void setPermissId(int permissId) {
                this.permissId = permissId;
            }

            public List<SysPermissionModelsBean> getSysPermissionModels() {
                return sysPermissionModels;
            }

            public void setSysPermissionModels(List<SysPermissionModelsBean> sysPermissionModels) {
                this.sysPermissionModels = sysPermissionModels;
            }

            public static class SysPermissionModelsBean {
                /**
                 * permissName : 角色查询
                 * icon : 1
                 * parentId : 202
                 * describes : 角色查询
                 * permissId : 2021
                 * sysPermissionModels : []
                 */

                private String permissName;
                private String icon;
                private int parentId;
                private String describes;
                private int permissId;

                public String getPermissName() {
                    return permissName;
                }

                public void setPermissName(String permissName) {
                    this.permissName = permissName;
                }

                public String getIcon() {
                    return icon;
                }

                public void setIcon(String icon) {
                    this.icon = icon;
                }

                public int getParentId() {
                    return parentId;
                }

                public void setParentId(int parentId) {
                    this.parentId = parentId;
                }

                public String getDescribes() {
                    return describes;
                }

                public void setDescribes(String describes) {
                    this.describes = describes;
                }

                public int getPermissId() {
                    return permissId;
                }

                public void setPermissId(int permissId) {
                    this.permissId = permissId;
                }
            }
        }
    }
}
